

public class ResultGer<T> {

  private int code;

  private String msg;

  private T body;


}

abstract class test {

  public abstract <T extends ResultGer> ResultGer<T> getR(ResultGer<T> tResultGer);

  public <T extends ResultGer> ResultGer<T> getR2(ResultGer<T> tResultGer, String s, Integer i) {

    Object o = new ResultGer();
    if (o instanceof Integer) {

    }
    if (tResultGer instanceof ResultGer) {
      return null;
    } else {

    }
    if (i instanceof Integer) {
      return null;
    }
    return null;
  }

}